#!/bin/bash
# 定义主机
set -x
IPS=(
192.168.12.24
192.168.12.21
)

CONFIG_FILE=inventory/mycluster-openstack-$1/hosts.yaml python3 contrib/inventory_builder/inventory.py ${IPS[@]}
